<template>
  <div class="waringObj">
    <el-row>
      <el-col :span="24">
        <bar-chart :barData="barData" />
      </el-col>
    </el-row>
  </div>
</template>

<script>
import barChart from "@/views/statistics/forewarning/statistic/components/barChart.vue";
export default {
  name: "waringObj",
  props: {
    // 柱状图数据
    barData: {
      type: Array,
      default: [],
    },
  },
  components: {
    barChart,
  },
};
</script>

<style scoped lang="scss">
.waringObj {
  width: 100%;
}
</style>
